package com.ruoyi.project.system.wxAccesstoken.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 微信AccessToken表 wx_accesstoken
 * 
 * @author zhangshilin
 * @date 2019-08-07
 */
public class WxAccesstoken extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 获取到的凭证 */
	private String token;
	/** 凭证有效时间，单位：秒 */
	private Integer expiresIn;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setToken(String token) 
	{
		this.token = token;
	}

	public String getToken() 
	{
		return token;
	}
	public void setExpiresIn(Integer expiresIn) 
	{
		this.expiresIn = expiresIn;
	}

	public Integer getExpiresIn() 
	{
		return expiresIn;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("token", getToken())
            .append("expiresIn", getExpiresIn())
            .toString();
    }
}
